package com.chaochis.springboottestdemo.model.mapperModel;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chaochis.springboottestdemo.base.BaseSerialzableVo;
import com.chaochis.springboottestdemo.enumList.DataStatus;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@TableName("user")
public class UserVo implements Serializable, BaseSerialzableVo {

    @TableId("user_id")
    private String id;

    @TableField("user_name")
    private String userName;

    @TableField("user_password")
    private String password;

    @TableField("user_email")
    private String email;

    @TableField("user_real_name")
    private String realName;

    @TableField("user_nick_name")
    private String nickName;

    @TableField("user_salt")
    private String salt;

    @TableField("user_status")
    private DataStatus status;

}
